static int track_out_count;
static int route_out_count;
static int route_wpt_count;
+static int new_track;
static char *snlenopt = NULL;
static char *snwhiteopt = NULL;
rte->rte_name ? rte->rte_name : "ComplimentsOfGPSBabel");
track_out_count++;
+ new_track = 1;
}
static void
alt_feet = METERS_TO_FEET(waypointp->altitude);
}
- gbfprintf(file_out, "%.6f,%.6f,0,%.0f,%.5f,,\r\n",
- waypointp->latitude, waypointp->longitude, alt_feet, ozi_time);
+ gbfprintf(file_out, "%.6f,%.6f,%d,%.0f,%.5f,,\r\n",
+ waypointp->latitude, waypointp->longitude, new_track,
+ alt_feet, ozi_time);
+
+ new_track = 0;
}
static void